﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebsiteBanThucAn.Models;
using DAL;

namespace BLL
{
    public class KhachHangBLL
    {
        public static List<KhachHangModel> LayDSKhachHangTatCa()
        {
            return KhachHangDAL.LayDSKhachHangTatCa();
        }

        public static KhachHangModel LayThongTinKhachHangTheoID(int id)
        {
            return KhachHangDAL.LayThongTinKhachHangTheoID(id);
        }

        public static bool ThemKhachHang(KhachHangModel khm)
        {
            return KhachHangDAL.ThemKhachHang(khm);
        }

        public static bool XoaKhachHang(int id)
        {
            return KhachHangDAL.XoaKhachHang(id);
        }

        public static bool SuaKhachHang(KhachHangModel khm)
        {
            return KhachHangDAL.SuaKhachHang(khm);
        }
    }
}
